html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    max-width: 100%;   
  }

.example::-webkit-scrollbar {
    display: none;
  }

.index {
    color: rgb(0, 0, 0);
    background-color: rgb(230,230,230);
}

.cursor{
 cursor: url("curseur-02.png") 36 0, auto;
}

.accueil-index {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: 100vh;
}

.wrapper-padded {
  padding-left: 12%;
  padding-right: 12%;
}

.bienvenue-texte {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  color: white;
  line-height: 100%;
  z-index: 2;
  align-self: end;
}

@media (min-width:1000px) {
    .bienvenue-texte {
    font-size: 125px;
}
}

.propos-titre {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  color: white;
  line-height: 100%;
  z-index: 2;
  align-self: end;
}

@media (min-width:1000px) {
    .propos-titre {
    font-size: 75px;
}
}

.propos-texte {
  color: white;
  padding: 10px 12% 30px 12%;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  line-height: 120%;
}

@media (min-width:1000px) {
  .propos-texte {
  padding: 10px 20px 30px 50%;
}
}

.bienvenue-wrapper {
  display: flex;
  align-items: end;
  padding: 12%
  
}

@media (min-width:1000px) {
    .bienvenue-wrapper {
    padding: 20px;
}
}

.image-index {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
  z-index: 1;
}

.image-propos {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: auto;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  display: block;
}

@media (max-width: 1000px) {
  .image-propos {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 20px;
}

@media (min-width:1000px) {
    .header{
        margin: 20px;
        margin: 10px 20px;
    }
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
  padding-bottom: 20px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  color: black;
}

@media (min-width:1000px) {
    .footer{
        margin: 20px;
    }
}

.logo img {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
  content: url("ICONES/loader.gif");
}

.logo:hover .logo-noir-img {
  content: url("ICONES/loader-noir.gif");
}

.nav {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
}

@media (min-width:1000px) {
    .nav {
    font-size: 18px;
}
}

.nav a {
  position: relative;
  text-decoration: none;
  color: white;
  font-family: 'Epilogue', sans-serif;
  margin-left: 20px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-gauche a.active::after {
  transform: scaleX(1);
}

.nav-noir {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
}

@media (min-width:1000px) {
    .nav-noir {
    font-size: 18px;
}
}

.nav-noir a {
  position: relative;
  text-decoration: none;
  color: black;
  font-family: 'Epilogue', sans-serif;
  margin-left: 20px;
}

.nav-noir a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-noir a:hover::after {
  transform: scaleX(1);
}

#navbar.noir {
  filter: invert(1);
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: top 0.5s ease-in-out;
}

.projets-index {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "filtres"
    "titre";
  gap: 20px;
  padding: 5rem 12% 5rem 12%;
}

.projets-autres {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 5rem 12% 5rem 12%;
}

.nav-gauche {
  display: flex;
  gap: 40px;
  align-items: baseline;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  line-height: 120%;
  grid-area: titre;
}

@media (min-width:1000px) {
    .nav-gauche {
    font-size: 18px;
}
}

.nav-gauche-autres {
  display: flex;
  gap: 40px;
  align-items: baseline;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  line-height: 120%;
}

.titre-index{
  display: flex;
  align-items: baseline;
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  grid-area: filtres;
}

@media (min-width: 1000px) {
  .titre-index{
  font-size: 75px;
}
}

@media (min-width: 1000px) {
  .projets-index {
    align-items: baseline;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "titre filtres";
    gap: 20px;
    padding: 10rem 12% 5rem 12%;
  }
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  display: block;
  transition: transform 0.3s ease;
}

.item:hover img {
  transform: scale(0.95);
}

.item.hidden {
  display: none;
}

.item.visible {
  opacity: 1;
  transform: scale(1);
}

.nav-gauche a {
  position: relative;
  text-decoration: none;
  color: black;
  font-family: 'Epilogue', sans-serif;
}

.nav-gauche a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-gauche a:hover::after {
  transform: scaleX(1);
}

.autres-section {
  padding: 5rem 20px 10rem 20px;
}

.autres-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.autres-container::-webkit-scrollbar {
  display: none; 
}

.autres-track {
  display: flex;
  gap: 20px;
  align-items: center;
}

.autres-item {
  flex: none;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.autres-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.autres-wrapper {
  position: relative;
}

.fleche-scroll {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: auto;
  z-index: 5;
}

.titre-autres {
  grid-column-end: -1;
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  display: flex;
  color: black;
}

@media (min-width: 1000px) {
    .titre-autres {
    font-size: 75px;
}
}


.titre-autres a {
  position: relative;
  text-decoration: none;
  color: black;
}

.titre-autres a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.titre-autres a:hover::after {
  transform: scaleX(1);
}

.icone {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}

.icone img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.titre{
    font-family: 'Epilogue', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.desc {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  line-height: 120%;
  color: rgb(0, 0, 0);
  font-size: 15px;
  text-align: left;

  position: static;
  width: 100%;
  transform: none;
  margin-bottom: 20px;
}

.page-projet {
  color: rgb(0, 0, 0);
  background-color: rgb(230,230,230);
  display: block;
  margin: 20px;
  gap: 20px;
  padding-top: 7rem;
}

.page-projet img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

@media (min-width: 1000px) {
  .page-projet {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-top: 5rem;
  }

  .desc {
    position: fixed;
    left: 20px;
    width: 25%;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
  }

  .page-projet img {
    grid-column: 2 / 4;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
  }
}